<!-- MAIN CONTENT -->
<div id="content">
    <div class="row">
        <big-breadcrumbs items="['用户', '新增']" icon="table"
                         class="col-xs-12 col-sm-7 col-md-7 col-lg-4"></big-breadcrumbs>
    </div>
    <!-- widget grid -->
    <section id="widget-grid">
        <div class="row">
            <!-- NEW WIDGET START -->
            <article class="col-sm-12 col-md-12 col-lg-6">
                <!--<div data-jarvis-widget id="user-add-widget">-->
                      <!-- widget div-->
                <div id="widget-user-add" data-jarvis-widget data-widget-color="darken">
                    <header>
                        <span class="widget-icon"> <i class="fa fa-table"></i> </span>
                        <h2>用户新增</h2>
                    </header>
                    <div class="well no-padding">
                         <!-- widget content -->
                        <!--<div class="widget-body">-->
                            <form id="add-form" class="smart-form client-form" data-smart-validate-form ng-submit="save()">
                                <fieldset>
                                    <section>
                                        <label class="label">用户名</label>
                                        <label class="input">
                                            <input  type="text" name="name" id="name"
                                                    data-smart-validate-input
                                                    data-required
                                                    data-message-required="请输入用户名"
                                                    ng-model="user.name">
                                        </label>
                                    </section>
                                    <section>
                                        <label class="label">密码</label>
                                        <label class="input">
                                            <input type="password" name="pwd" id="pwd"
                                                    data-smart-validate-input
                                                    data-required
                                                    data-message-required="请输入密码"
                                                    ng-model="user.pwd">
                                        </label>
                                    </section>
                                    <section>
                                        <label class="label">确认密码</label>
                                        <label class="input">
                                            <input type="password" name="repeatPwd" id="repeatPwd"
                                                    data-smart-validate-input
                                                    data-required
                                                    data-equal-to="#pwd"
                                                    data-message-required="请重复密码"
                                                    data-message-equal-to="俩次密码不一致">
                                        </label>
                                    </section>
                                    <section>
                                        <label class="label">姓名</label>
                                        <label class="input">
                                            <input type="text" name="realName" id="realName"
                                                    data-smart-validate-input
                                                    data-required
                                                    data-message-required="请输入姓名"
                                                    ng-model="user.realName">
                                        </label>
                                    </section>
                                </fieldset>
                                <footer>
                                    <button type="submit" class="btn btn-primary">确定</button>
                                    <button type="button" class="btn btn-default" ng-click="back()">返回</button>
                                </footer>
                            </form>
                        <!--</div>-->
                    </div>
                </div>
                <!--</div-->>
            </article>
        </div>
    </section>
</div>